package com.example.dataxtest;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@ComponentScan(basePackages= "com.yellowframework.cloud") // 扫描yellow-cloud下的框架
@ComponentScan(basePackages= "com.example.dataxtest") // 扫描yellow-cloud下的服务
@MapperScan( value = {"com.example.dataxtest.mapper"})
public class DataxTestApplication {

    public static void main(String[] args) {
        SpringApplication.run(DataxTestApplication.class, args);
    }

}
